#version=(branches/1.9.0 branches/1.10.0 branches/1.11.0 branches/1.12.0 trunk)
version=(trunk)
langType=(en-US ko-KR ja-JP vi-VN zh-TW)


deleteRes()
{	
	cd $1
	svn up
	svn delete alliancebattle.plist
	svn delete alliancebattle.pvr.ccz
	svn delete breach.plist
	svn delete breach.pvr.ccz
	svn delete advancedimage.plist
	svn delete advancedimage.pvr.ccz
	
	svn ci -m "remove wrong res"
}


for v in ${version[*]}; do
	#svn up 
	for t in ${langType[*]}; do
		echo "====================>>>>>"
		deleteRes /Users/kaixin/Documents/work/client/$v/gameClient/cached_res/image/$t/ui/
		deleteRes /Users/kaixin/Documents/work/client/$v/gameClient/cached_res/image/$t/ui/
	done
done

